<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<script>
//    function page(n,s){
//        $("#pageNo").val(n);
//        $("#pageSize").val(s);
//        $("#detailForm").submit();
//        return false;
//    }
</script>
<section class="panel">
    <header class="panel-heading">收费详细信息</header>
    <div class="panel-body">
        <form  id="detailForm" onsubmit="return loadDivForm('detailChage','detailForm','${ctx}/finance/outpRcptMaster/findDetailCharge')" >
            <input type="hidden" value="${clinicOrdersCost.ordersId}" name="ordersId">
            <input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
            <input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
        </form>
        <table  class="table table-bordered mg-t datatable">
                           <thead>
                           <tr>
                               <th>项目名称</th>
                               <th>项目编码</th>
                               <th>项目数量</th>
                               <th>单价</th>
                               <th>应收</th>
                               <th>实收</th>
                               <th>规格</th>
                               <th>单位</th>
                           </tr>
                           </thead>
                           <tbody>
                           <c:forEach items="${page.list}" var="details">
                               <tr>
                                   <td>${details.itemName}</td>
                                   <td>${details.itemCode}</td>
                                   <td>${details.num}</td>
                                   <td>${details.price}</td>
                                   <td>${details.costs}</td>
                                   <td>${details.charges}</td>
                                   <td>${details.spec}</td>
                                   <td>${fns:getDictLabels(details.unit,'SPEC_UNIT','')}</td>
                               </tr>
                           </c:forEach>
                       </table>
                <%--<div class="pagination">${page}</div>--%>
    </div>
</section>
